#include "BasicTickTimer.h"
#include <Windows.h>
namespace utility
{
	BasicTickTimer::BasicTickTimer(void)
	{
		m_dwBeginTick = 0;
		m_dwEndTick = 0;
	}

	BasicTickTimer::~BasicTickTimer(void)
	{
	}

	void BasicTickTimer::BeginTick()
	{
		m_dwBeginTick = GetTickCount();
	}

	DWORD BasicTickTimer::EndTick()
	{
		m_dwEndTick = GetTickCount();
		return m_dwEndTick-m_dwBeginTick;
	}
}

